package cn.hh.god.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Buy {
    private Long id;
    private Long user_id=1L;

    private Integer pay_price=30;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date buy_time = new Date();
    private Integer buy_count = 1;
    private Long course_id ;
}
